package com.greate.community.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 诈骗案例实体类
 * 用于存储和展示诈骗案例信息
 * @author 海航源
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FraudCase {
    /**
     * 案例ID
     */
    private int id;
    
    /**
     * 案例标题
     */
    private String title;
    
    /**
     * 案例内容
     */
    private String content;
    
    /**
     * 诈骗类型:1-电信诈骗; 2-网络诈骗; 3-金融诈骗; 4-其他
     */
    private String type;
    
    /**
     * 案例状态
     * 0-正常; 1-置顶; 2-隐藏
     */
    private int status;
    
    /**
     * 创建时间
     */
    private Date createTime;
    
    /**
     * 更新时间
     */
    private Date updateTime;

    @Override
    public String toString() {
        return "FraudCase{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", type='" + type + '\'' +
                ", status=" + status +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}